package cn.com.darly.videoandroidpm.common;

import java.util.ArrayList;
import java.util.List;

import cn.com.darly.videoandroidpm.R;
import cn.com.darly.videoandroidpm.bean.PopInfo;

/**
 * @author Darly/张宇辉/2018/5/4 9:57
 * @version 1.0/cn.com.darly.videoandroidpm.common
 */
public class ClassCache {

    public static List<PopInfo> getPopInfo(){
        List<PopInfo> data = new ArrayList<PopInfo>();
        PopInfo slidinguppanel = new PopInfo();
        slidinguppanel.setIcon(R.mipmap.ic_pop_talk);
        slidinguppanel.setTitle("发布话题");
        slidinguppanel.setClazz("cn.com.darly.videoandroidpm.ui.artamuse.NewAmuseActivity");
        slidinguppanel.setLogin(true);
        data.add(slidinguppanel);

        PopInfo swipecards = new PopInfo();
        swipecards.setIcon(R.mipmap.ic_pop_friend);
        swipecards.setTitle("添加好友");
        swipecards.setClazz("cn.com.darly.videoandroidpm.ui.registerfriend.AddFriendActivity");
        swipecards.setLogin(true);
        data.add(swipecards);

        PopInfo staggeredGrid = new PopInfo();
        staggeredGrid.setIcon(R.mipmap.ic_pop_sao);
        staggeredGrid.setTitle("扫一扫");
        staggeredGrid.setClazz("com.darly.darlyview.ui.staggered.StaggeredGridActivity");
        staggeredGrid.setLogin(false);
        data.add(staggeredGrid);

        PopInfo waveSwipeRefresh = new PopInfo();
        waveSwipeRefresh.setIcon(R.mipmap.ic_pop_helper);
        waveSwipeRefresh.setTitle("帮助与反馈");
        waveSwipeRefresh.setClazz("com.darly.darlyview.ui.waveswiperefresh.WaveSwipeRefreshActivity");
        waveSwipeRefresh.setLogin(true);
        data.add(waveSwipeRefresh);
        return data;
    }


    public static List<PopInfo> getFragmentSetting(){
        List<PopInfo> data = new ArrayList<PopInfo>();
        PopInfo amuse = new PopInfo();
        amuse.setIcon(R.mipmap.ic_pop_talk);
        amuse.setTitle("我的话题");
        amuse.setClazz("cn.com.darly.videoandroidpm.ui.artamuse.PublishedAmuseActivity");
        amuse.setLogin(true);
        data.add(amuse);

        PopInfo game = new PopInfo();
        game.setIcon(R.mipmap.ic_pop_talk);
        game.setTitle("休闲娱乐");
        game.setClazz("cn.com.darly.videoandroidpm.ui.games.LittleRestActivity");
        game.setLogin(true);
        data.add(game);

        PopInfo set = new PopInfo();
        set.setIcon(R.mipmap.ic_pop_friend);
        set.setTitle("设置");
        set.setClazz("cn.com.darly.videoandroidpm.ui.setting.SettingActivity");
        set.setLogin(true);
        data.add(set);

        PopInfo sat = new PopInfo();
        sat.setIcon(R.mipmap.ic_pop_sao);
        sat.setTitle("扫一扫");
        sat.setClazz("com.darly.darlyview.ui.staggered.StaggeredGridActivity");
        sat.setLogin(false);
        data.add(sat);

        PopInfo version = new PopInfo();
        version.setIcon(R.mipmap.ic_pop_helper);
        version.setTitle("版本更新");
        version.setClazz("com.darly.darlyview.ui.waveswiperefresh.WaveSwipeRefreshActivity");
        version.setLogin(true);
        data.add(version);
        return data;
    }
    public static List<PopInfo> getGame(){
        List<PopInfo> data = new ArrayList<PopInfo>();

        PopInfo game = new PopInfo();
        game.setIcon(R.mipmap.ic_pop_talk);
        game.setTitle("2048");
        game.setClazz("cn.com.darly.videoandroidpm.ui.games.nub2048.Game2048Activity");
        game.setLogin(true);
        data.add(game);
        return data;
    }
}
